from django import forms as forms

def zakres_action():
  action_list = set()
  action_list.add( (1, "content"))
  action_list.add( (2, "blogs list"))
  action_list.add( (3, "comments list"))
  return action_list


class BlogForm(forms.Form):
  blog_note = forms.CharField(required = True, max_length = 10000, widget=forms.Textarea( {'size' : 40} ))

class Statistic(forms.Form):
  query = forms.CharField(required = True, max_length = 300)
  content =  forms.BooleanField(required = False, label = 'content')
  comments = forms.BooleanField(required = False, label = 'comments')


class FreqForm(forms.Form):
  content =  forms.BooleanField(required = False, label = 'content')
  comments = forms.BooleanField(required = False, label = 'comments')

class ZipfForm(forms.Form):
  id = forms.CharField(required = False, max_length = 300)
#  content =  forms.BooleanField(required = False, label = 'content')
#  comments = forms.BooleanField(required = False, label = 'comments')
